{%insert header.tpl %}
{%insert top.tpl %}
{%if NeedsToken%}
<script language="javascript">
window.location.href = "<?php echo $this->CurrentContext()->Url(null,'SetToken'); ?>" + window.location.hash.replace('#','&');
</script>
{%else%}
<div>
{% i < `OAuth token successfully obtained!` %}
</div>
{%endif%}
{%insert footer.tpl %}
